package com.lebang.mapper.ybd;


import com.lebang.domain.ybd.MemberGoldRecord;
import com.lebang.example.ybd.MemberGoldRecordExample;
import com.lebang.mapper.MyBatisBaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

/**
 * MemberGoldRecordMapper继承基类
 */
@Mapper
public interface MemberGoldRecordMapper extends MyBatisBaseDao<MemberGoldRecord, Long, MemberGoldRecordExample> {

    Integer getGoldUseCount(@Param("userId") String userId, @Param("appId") String appid, @Param("goldConfigId") Integer goldConfigId, @Param("date") LocalDate date);
}